/* 参考链接
 https://www.cnblogs.com/elnino/p/11171406.html
*/

package main

import (
    //"github.com/aws/aws-sdk-go/aws"
    //"github.com/aws/aws-sdk-go/aws/credentials"
    //"github.com/aws/aws-sdk-go/aws/session"
    //"github.com/aws/aws-sdk-go/service/s3"
)

func main() {
    //既可以使用域名，也可以使用ip+端口的形式
    S3.ConnInit("http://10.64.33.36", "buk1-2", "w6rxhe08yyctxmb5n6i6", "eyygwy6z6wqod1is5up8t9t8hln8pyof1d9bwue0")
    S3.Download("test0.txt", "./test0.txt")
    S3.MultiPartsUpload("daemon.exe", "buk1-2", "/resource")
}
